<div ng-controller="TestContr">
Enter number: <input style="" ng-model='val'><br>
Default formatting: {{val}}<br> 
No fractions: {{val| number:0}}<br>
Negative number: {{-val| number:4}}  
</div>